package com.yuandian.business.monitor.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuandian.api.business_monitor.po.LongProcessParams;
import com.yuandian.api.business_monitor.vo.BusinessOverviewVo;
import com.yuandian.api.business_monitor.vo.LongProcessDetailVo;
import com.yuandian.api.business_monitor.vo.LongProcessOverviewVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 说明：mapper
 * @Author lishil
 * @Date 2023/01/4 10:15
 */
@Mapper
public interface BusinessWorkFlowRecordMapper {

    /**
     * 监控查询-长流程业务查询
     * @param params 长流程业务查询参数
     * @return 长流程vo对象集合
     */
    List<LongProcessOverviewVo> queryWorkFlowRecord(Page<BusinessOverviewVo> page, @Param("params") LongProcessParams params);

    /**
     * 监控查询-长流程详情查询
     * @param params 长流程业务查询参数
     * @return 长流程vo对象集合
     */
    List<LongProcessDetailVo> queryLongProcessDetail(@Param("page") Page page, @Param("params") LongProcessParams params);

}
